package com.banmoon.composite;

import cn.hutool.core.util.StrUtil;

/**
 * 专业
 */
public class Specialty extends OrganizationComponent{

    public Specialty(String name, String desc) {
        super(name, desc);
    }

    @Override
    public void show() {
        System.out.println(StrUtil.format("{} => {}", getName(), getDesc()));
    }
}
